package com.zpark.it.clients;

import com.zpark.it.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Title: CollectClient
 * @Author Charles
 * @Package com.zpark.it.clients
 * @Date 2023/7/29 10:57
 */
@FeignClient("collect-service")
public interface CollectClient {

    @PostMapping("/collect/remove/product")
    R remove(@RequestBody Integer productId);

}
